![]() | ![]() | ![]() | ![]() |
The SAS PC Files Server does not recognize environment variables in the DATAFILE= option when you use the EXCELCS and ACCESSCS engines. Consider the following example:
When you submit a procedure similar to the one above, the following error is generated:
The code in the previous example works when you use the EXCEL engine. The problem occurs when you use the EXCELCS or the ACCESSCS engines because these engines do not support this feature.
To circumvent the problem, use a macro variable in the DATAFILE= option, as shown below:
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | 9.4 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | 9.4 TS1M0 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | 9.4 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | 9.4 TS1M0 | ||
Microsoft Windows Server 2008 for x64 | 9.2 TS2M0 | 9.4 TS1M0 | ||
Windows Vista for x64 | 9.2 TS2M0 | 9.4 TS1M0 | ||
Microsoft® Windows® for x64 | 9.2 TS2M2 | 9.4 TS1M0 | ||
Microsoft Windows Server 2003 for x64 | 9.2 TS2M2 | 9.4 TS1M0 | ||
Windows 7 Enterprise x64 | 9.2 TS2M2 | |||
Windows 7 Home Premium x64 | 9.2 TS2M2 | |||
Windows 7 Professional x64 | 9.2 TS2M2 | |||
Windows 7 Ultimate x64 | 9.2 TS2M2 |